<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>视觉差案例</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        div{
            height: 1000px;
            background-color: black;
            background-position: center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            background-size: 400px 400px;
        }
        .minren{
           background-image: url('img/minren.jpg');
        }
        .you{
           background-image: url('img/you.jpg');
        }
        .woailuo{
           background-image: url('img/woailuo.jpg');
        }
    </style>
</head>
<body>
    <div class="minren"></div>
    <div class="you"></div>
    <div class="woailuo"></div>
</body>
</html>